package com.meitianhui.convenitenbuy.util;

import java.io.Closeable;
import java.io.IOException;

/**
 * I/O Utils.
 * Created by Liam on 2018/4/16.
 */
public final class IOUtils {

    private IOUtils() {
        // prevent from being instantiating.
    }

    public static void closeQuietly(Closeable closeable) {
        if (closeable != null) {
            try {
                closeable.close();
            } catch (IOException e) {
                // e.printStackTrace();
                // swallow
            }
        }
    }
}
